home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Just Call Me Internet
/
Just Call Me Internet.iso
/
archives
/
com
/
internet
/
stik
/
gls002b5.zoo
/
Makefile
< prev
next >
Wrap
Makefile
|
1997-09-21
|
2KB
|
62 lines
CC = cc68x
AS = jas
CFLAGS = -O -W4 -DBLOCK_OPEN -DDEBUG # -DMULTITHREAD
RM = rm -f
DRIVER = gsdriver.exe
DRIVER_OBJS = gsdriver.o drivers.o transtub.o flags.o
DRIVER_LIBS =
DAEMON = gsdaemon.prg
DAEMON_OBJS = gsdaemon.o config.o transdmn.o memdemon.o debug.o
DAEMON_LIBS = -lsocket
all: $(DAEMON) $(DRIVER)
# You may need to substitute your own program-flag-setting program; I
# use pflags from the SozobonX distribution.
$(DAEMON): $(DAEMON_OBJS)
$(CC) $(CFLAGS) -o $(DAEMON) $(DAEMON_OBJS) $(DAEMON_LIBS)
pflags +global $(DAEMON)
$(DRIVER): $(DRIVER_OBJS)
$(CC) $(CFLAGS) -o $(DRIVER) $(DRIVER_OBJS) $(DRIVER_LIBS)
pflags +global $(DRIVER)
gsdriver.o: cookie.h
config.o drivers.o gsdaemon.o gsdriver.o memdemon.o: global.h
sendop.o transdmn.o transtub.o debug.o: global.h
gsdaemon.o gsdriver.o drivers.o: patchlev.h
gsdaemon.o gsdriver.o sendop.o transdmn.o debug.o: pipe.h
#debugdrv.o: debug.c global.h pipe.h
# $(CC) -DDRIVER $(CFLAGS) -c -o $@ $<
#
#debugdmn.o: debug.c global.h pipe.h
# $(CC) -DDAEMON $(CFLAGS) -c -o $@ $<
TESTIT = testit.ttp
test: $(TESTIT)
$(TESTIT): testit.o
$(CC) $(CFLAGS) -o $(TESTIT) testit.o
testit.o: drivers.h transprt.h
DISTPKG = gluestik-0.02b5.zoo
DISTFILES = config.c cookie.h debug.c drivers.c drivers.h flags.s global.h \
gsdaemon.c gsdriver.c memdemon.c patchlev.h pipe.h testit.c \
transdmn.c transprt.h transtub.c readme Makefile gsdaemon.prg \
gsdriver.exe testit.ttp
dist: $(DISTPKG)
$(DISTPKG): $(DISTFILES)
zoo ah $(DISTPKG) $(DISTFILES)
clean:
$(RM) $(DAEMON_OBJS) $(DRIVER_OBJS) testit.o
spotless: clean
$(RM) $(DAEMON) $(DRIVER) $(TESTIT)